<!DOCTYPE html>
<!-- saved from url=(0023)https://c251.818tu.com/ -->
<html lang="zh-CN" class="pixel-ratio-2 retina ios ios-9 ios-9-1 ios-gt-8 ios-gt-7 ios-gt-6">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>首页</title>
    
    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
    

    <script src="https://cdn.bootcss.com/jquery/2.2.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/Cookies.js/1.2.1/cookies.js"></script>
    <script src="https://cdn.bootcss.com/OwlCarousel2/2.2.0/owl.carousel.min.js"></script>
    <link rel="dns-prefetch" href="https://wepay.weipinchu.com/" />
    <link rel="stylesheet" href="https://ommdq027l.qnssl.com/static/release/1494780595539/vendor.css" />
    <link rel="stylesheet" href="https://ommdq027l.qnssl.com/static/release/1500311086095/front.css" />
    <link href="https://at.alicdn.com/t/font_apds0v8n2bhp8pvi.css" rel="stylesheet">
    <link href="//at.alicdn.com/t/font_fsk2otdio7ds4i.css" rel="stylesheet">
    <link rel="stylesheet" href="/Public/home/css/send.css" />
    <link rel="stylesheet" href="https://ommdq027l.qnssl.com/static/release/1500311086095/vendor.css" />
    <link rel="stylesheet" href="https://ommdq027l.qnssl.com/static/release/1500311086095/front.css" />
    <script src="https://ommdq027l.qnssl.com/static/release/1500311086095/vendor.js"></script>
    <script src="https://ommdq027l.qnssl.com/static/release/1500311086095/app.js"></script>    
    <style>
    <literal>
      body,html{-webkit-tap-highlight-color:transparent}body{overflow-x:hidden;background-color:#fbf9fe}.container{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.container>div{background-color:#fbf9fe}.hd{padding:1.5em 0}.page_title{text-align:center;font-size:24px;color:#3cc51f;font-weight:400;margin:0 15%}.page_desc{text-align:center;color:#888;font-size:14px}.bd.spacing{padding:0 15px}.home{padding-bottom:30px}.button .page_title{color:#225fba}.button .bd{padding:0 15px}.button .button_sp_area{padding:10px 0;width:60%;margin:0 auto;text-align:justify;text-justify:distribute-all-lines;font-size:0}.button .button_sp_area:after{display:inline-block;width:100%;height:0;font-size:0;margin:0;padding:0;overflow:hidden;content:"."}.cell .page_title{color:#225fba}.cell .bd{padding-bottom:30px}.dialog .bd,.toast .bd{padding:120px 15px 0}.msg{background-color:#fff}.panel .bd{padding-bottom:20px}.article{background-color:#fff}.article .page_title{color:#de7c23}.icons{background-color:#fff;text-align:center}.icons .page_title{color:#3e24bd}.icons .bd{padding:30px 0;text-align:center}.icons .icon_sp_area{padding:10px 20px;text-align:left}.icons i{margin:0 5px 10px}.tabbar{height:100%}.search_show{display:none;margin-top:0;font-size:14px}.search_show .weui_cell_bd{padding:2px 0 2px 20px;color:#666}.icon{display:inline-block;width:28px;height:28px;vertical-align:middle}.icon_button{background:url(images/icon_nav_button.png) no-repeat;background-size:28px 28px}.icon_cell{background:url(images/icon_nav_cell.png) no-repeat;background-size:28px 28px}.icon_toast{background:url(images/icon_nav_toast.png) no-repeat;background-size:28px 28px}.icon_dialog{background:url(images/icon_nav_dialog.png) no-repeat;background-size:28px 28px}.icon_progress{background:url(images/icon_nav_progress.png) no-repeat;background-size:28px 28px}.icon_msg{background:url(images/icon_nav_msg.png) no-repeat;background-size:28px 28px}.icon_article{background:url(images/icon_nav_article.png) no-repeat;background-size:28px 28px}.icon_actionSheet{background:url(images/icon_nav_actionSheet.png) no-repeat;background-size:28px 28px}.icon_icons{background:url(images/icon_nav_icons.png) no-repeat;background-size:28px 28px}.icon_panel{background:url(images/icon_nav_panel.png) no-repeat;background-size:28px 28px}.icon_tab{background:url(images/icon_nav_tab.png) no-repeat;background-size:28px 28px}.icon_search_bar{background:url(images/icon_nav_search_bar.png) no-repeat;background-size:28px 28px}@-webkit-keyframes a{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes a{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@-webkit-keyframes b{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}}@keyframes b{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}}.enter,.leave{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.enter{-webkit-animation:a .2s forwards;animation:a .2s forwards}.leave{-webkit-animation:b .25s forwards;animation:b .25s forwards}      
    </literal>
    </style>	
		<style>
		.recommendbox{
				font-family: "Segoe UI","Lucida Grande",Helvetica,Arial,"Microsoft YaHei",FreeSans,Arimo,"Droid Sans","wenquanyi micro hei","Hiragino Sans GB","Hiragino Sans GB W3",FontAwesome,sans-serif;
				background-color: rgba(255,255,255,.6);
				position: fixed;
				width: 100%;
				height: 100%;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				z-index: 999999999;
			}
			.recommendbox .rbimgbox{
				box-shadow: 0px 2px 6px 0px #1a5f84;
				position: relative;
				margin: auto;
				top: 20%;
				background: linear-gradient(#10AEFF,#1f84b9,#1a5f84);
				width: 80%;
				height: 50%;
				border-radius: 10px;
				animation: new_day .8s ease-in-out;
				transition: .6s ease-in;
			}
			@keyframes new_day{
				from{					
					transform: matrix(.3,0,0,.3,0,0);
					opacity:0;
				}
				to{
					transform:matrix(1,0,0,1,0,0);
					opacity:1;
				}
			}
			.recommendbox .rbimgbox .xxico{
				opacity: .8;
				bottom: -15%;
				margin: auto;
				position: relative;
				width: 50px;
				height: 50px;
			}
			.recommendbox .rbimgbox .xxico img{
				width: 100%;
				height: 100%;
			}
			.recommendbox .rbimgbox .dwimg{
				position: absolute;
				width: 53%;
				height: 53%;
				top: -37%;
				left: 20px;
			}
			.recommendbox .rbimgbox h2{
				position: relative;
				color: #fff;
				text-align: center;
				top: 5%;
				margin: 10% 0;
			}
			.recommendbox .rbimgbox .textbox::-webkit-scrollbar{
			    width: 0px;
			    height: 0px;
			}  
			.recommendbox .rbimgbox .textbox{
				overflow: auto;
				width: 80%;
				height: 70%;				
				margin: auto;
				border-radius: 5px;
			}
			.recommendbox .rbimgbox .textbox .tbs{
				width: 100%;
				height: 35%;
				background-color: #fff;
				border-radius: 5px;
				margin-bottom: 5px;
			}
			.recommendbox .rbimgbox .textbox .tbs:last-child{
				margin-bottom: 0px;
			}
			.recommendbox .rbimgbox .textbox .tbs .leftbox{
				float: left;
				height: calc(100% - 10px);
				width: calc(30% - 10px);
				padding: 5px;
				border-radius: 50%;
			}
			.recommendbox .rbimgbox .textbox .tbs .leftbox img{
				border-radius: 50%;
				width: 100%;
				height: 100%;
			}
			.recommendbox .rbimgbox .textbox .tbs .rightbox{
				float: right;
				height: calc(100% - 10px);
				width: calc(70% - 10px);
				padding: 5px;
				font-size: 14px;
			}
			.recommendbox .rbimgbox .textbox .tbs .rightbox .rttitle{
				width: 100%;
				text-overflow: ellipsis;  
				display: -webkit-box;  
				-webkit-line-clamp: 1;  
				-webkit-box-orient: vertical;  
				overflow: hidden;
				font-weight: bold;
			}
			.recommendbox .rbimgbox .textbox .tbs .rightbox .rttext{
				width:100%;
				text-overflow: ellipsis;  
				display: -webkit-box;  
				-webkit-line-clamp: 2;  
				-webkit-box-orient: vertical;  
				overflow: hidden;
				font-size: 12px;
			}
			
			.czboxbg{
				top:0;
				left:0;
				right:0;
				bottom:0;
				position:fixed;
				background-color:rgba(0,0,0,.6);
				z-index:9999999999;
				width:100%;
				height:100%;
			}
			.czboxbg .czimgbox{				
				margin:auto;
				position:relative;
				top:15%;
				width: 100%;
			}
			.czboxbg .czimgbox img{
				width: 100%;
				height: 100%;
			}
			.czboxbg .czimgxx{
				position:relative;
				top:20%;
				width:40px;
				height:40px;
				margin:auto;				
			}
			.czboxbg .czimgxx img{
				width:100%;
				height:100%;
			}
	</style>
</head>
  <body class=" has-footer-nav">
    <include file="Public/menu" />
    <div id="user-profile-bar" class="user-profile-bar"  style="<if condition="$user.nickname eq ''">display:none</if>">
	    <a href="/Home/user/index">
	        <span class="headimg"><img style="width:24px;height:24px;vertical-align:middle;border-radius:18px" src="{$user["img"]}"></span>
	        <span class="nickname" style="vertical-align:middle">{$user["nickname"]}</span>
	        <span style="float:right;vertical-align: middle">个人中心</span>
	    </a>
	</div>
    <div id="top-novels-carousel" class="owl-carousel novel-carousel clearfix">
    	<foreach name="continue_novel" item="vo">
	        <a href="/Home/Novel/novelinfo/id/{$vo["id"]}">
	            <div class="novel-carousel-item">
	                <div class="novel-image">
	                    <img src="{:C('FILE_HOST_PATH')}{$vo["img"]}" onerror="this.src='/Public/attached/other/img_error.jpg'"/>
	                    <if condition="$vo.is_flag eq 1">
	                    	<i class="iconfont icon-new"></i>
	                    </if>
	                </div>
	                <div class="novel-info">
	                    <h3>{$vo["name"]}</h3>
	                    <div class="novel-summary">{$vo["description"]}</div>
	                </div>
	            </div>	            
	        </a>
        </foreach>   
    </div>

<script>
    $('#top-novels-carousel').owlCarousel({
        items: 1,
        autoplay: true,
        autoplayTimeout: 3000,
        dots: true
    });
</script>
<div class="block ">
    <h3 class="block-heading"><i class="iconfont icon-star"></i> 最新推出</h3>
    <div class="block-body">
        <div class="thumb-novel-list">
           <foreach name="newest_novel" item="vo">
	           <div class="novel-item">
	                <div class="novel-image">
	                    <a href="/Home/Novel/novelinfo/id/{$vo["id"]}">
	                        <img width="120" height="160" src="{:C('FILE_HOST_PATH')}{$vo["img"]}" onerror="this.src='/Public/attached/other/img_error.jpg'">
	                        <if condition="$vo[is_flag] eq 1">
		                    	<i class="iconfont icon-new"></i>
		                    </if>
	                    </a>
	                </div>
	                <div class="novel-name">
	                    <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][0]["id"]}">
	                    <php>
	                    	if(mb_strlen($vo["name"],"UTF-8") > 5)
	                    		echo mb_substr($vo["name"],0,5,"utf-8")."....";
	                    	else
	                    		echo $vo["name"];
	                    </php>
	                    </a>
	                </div>
	            </div>
            </foreach>
        </div>
    </div>
</div>

<div class="block ">
    <h3 class="block-heading"><i class="iconfont icon-star"></i> 主编力荐</h3>
    <div class="block-body">
        <div class="thumb-novel-list">
           <div class="novel-item">
                <div class="novel-image">
                    <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][0]["id"]}">
                        <img src="{:C('FILE_HOST_PATH')}{$recommendlist[0][0]["img"]}" onerror="this.src='/Public/attached/other/img_error.jpg'">
                        <if condition="$recommendlist[0][0][is_flag] eq 1">
	                    	<i class="iconfont icon-new"></i>
	                    </if>
                    </a>
                </div>
                <div class="novel-name">
                    <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][0]["id"]}">{$recommendlist[0][0]["name"]}</a>
                </div>
            </div>
           <div class="novel-item">
                <div class="novel-image">
                    <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][1]["id"]}">
                        <img src="{:C('FILE_HOST_PATH')}{$recommendlist[0][1]["img"]}" onerror="this.src='/Public/attached/other/img_error.jpg'">
	                    <if condition="$recommendlist[0][1][is_flag] eq 1">
		                  	<i class="iconfont icon-new"></i>
		                </if>                        
                    </a>
                </div>
                <div class="novel-name">
                    <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][1]["id"]}">{$recommendlist[0][1]["name"]}</a>
                </div>
            </div>
           <div class="novel-item">
                <div class="novel-image">
                    <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][2]["id"]}">
                        <img src="{:C('FILE_HOST_PATH')}{$recommendlist[0][2]["img"]}" onerror="this.src='/Public/attached/other/img_error.jpg'">
	                    <if condition="$recommendlist[0][2][is_flag] eq 1">
		                  	<i class="iconfont icon-new"></i>
		                </if>                        
                    </a>
                </div>
                <div class="novel-name">
                    <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][3]["id"]}">{$recommendlist[0][2]["name"]}</a>
                </div>
            </div>
        </div>
        <ul class="text-novel-list">
           <li>
               <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][3]["id"]}">{$recommendlist[0][3]["name"]} </a>
           </li>
           <li>
               <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][4]["id"]}">{$recommendlist[0][4]["name"]} </a>
           </li>
           <li>
               <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][5]["id"]}">{$recommendlist[0][5]["name"]} </a>
           </li>
           <li>
               <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][6]["id"]}">{$recommendlist[0][6]["name"]} </a>
           </li>    
           <li>
               <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][7]["id"]}">{$recommendlist[0][7]["name"]} </a>
           </li>
           <li>
               <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][8]["id"]}">{$recommendlist[0][8]["name"]} </a>
           </li>
           <li>
               <a href="/Home/Novel/novelinfo/id/{$recommendlist[0][9]["id"]}">{$recommendlist[0][9]["name"]} </a>
           </li>
        </ul>
    </div>
</div>
<div class="block block-blue">
    <h3 class="block-heading">
        <i class="fa fa-mars"></i>男生                   <span class="block-subtitle">{$manlist[0][0]["class_name"]}</span>
            </h3>
    <div class="block-body">
        <div class="novel-list">
            <div class="novel-item" style="border-bottom:0">
                <div class="novel-image">
                    <a href="/Home/Novel/novelinfo/id/{$manlist[0][0]["id"]}">
                        <img src="{:C('FILE_HOST_PATH')}{$manlist[0][0]["img"]}" onerror="this.src='/Public/attached/other/img_error.jpg'">
	                    <if condition="$manlist[0][0][is_flag] eq 1">
		                  	<i class="iconfont icon-new"></i>
		                </if>                        
                    </a>
                </div>
                <div class="novel-info">
                    <a class="novel-title" href="/Home/Novel/novelinfo/id/{$manlist[0][0]["id"]}">{$manlist[0][0]["name"]}</a>
                    <div class="novel-summary">
                    	{$manlist[0][0]["description"]}                
                    </div>
                </div>
            </div>
        </div>
        <ul class="text-novel-list">
            <li>
                <a href="/Home/Novel/novelinfo/id/{$manlist[0][1]["id"]}">{$manlist[0][1]["name"]} </a>
            </li>
            <li>
                <a href="/Home/Novel/novelinfo/id/{$manlist[0][2]["id"]}">{$manlist[0][2]["name"]}</a>
            </li>
            <li>
                <a href="/Home/Novel/novelinfo/id/{$manlist[0][3]["id"]}">{$manlist[0][3]["name"]}</a>
            </li>
        </ul>
    </div>
</div>
<div class="block block-blue">
    <h3 class="block-heading">
        <i class="fa fa-mars"></i> 男生                    <span class="block-subtitle">{$manlist[1][0]["class_name"]}</span>
            </h3>
    <div class="block-body">
        <div class="novel-list">
           <div class="novel-item" style="border-bottom:0">
                <div class="novel-image">
                    <a href="/Home/Novel/novelinfo/id/{$manlist[1][0]["id"]}">
                        <img src="{:C('FILE_HOST_PATH')}{$manlist[1][0]["img"]}"  onerror="this.src='/Public/attached/other/img_error.jpg'">
	                    <if condition="$manlist[1][0][is_flag] eq 1">
		                  	<i class="iconfont icon-new"></i>
		                </if>                           
                    </a>
                </div>
                <div class="novel-info">
                    <a class="novel-title" href="/Home/Novel/novelinfo/id/{$manlist[1][0]["id"]}">{$manlist[1][0]["name"]}</a>
                    <div class="novel-summary">
                    	{$manlist[1][0]["description"]}
                    </div>
                </div>
            </div>
                    </div>
        <ul class="text-novel-list">
            <li>
                <a href="/Home/Novel/novelinfo/id/{$manlist[1][1]["id"]}">{$manlist[1][1]["name"]} </a>
            </li>
            <li>
                <a href="/Home/Novel/novelinfo/id/{$manlist[1][2]["id"]}">{$manlist[1][2]["name"]}</a>
            </li>
            <li>
                <a href="/Home/Novel/novelinfo/id/{$manlist[1][3]["id"]}">{$manlist[1][3]["name"]}</a>
            </li>
        </ul>
    </div>
</div>
<div class="block block-pink">
    <h3 class="block-heading">
        <i class="fa fa-venus"></i> 女生                    <span class="block-subtitle">{$womanlist[0][0]["class_name"]}</span>
            </h3>
    <div class="block-body">
        <div class="novel-list">
                        <div class="novel-item" style="border-bottom:0">
                <div class="novel-image">
                    <a href="/Home/Novel/novelinfo/id/{$womanlist[0][0]["id"]}">
                        <img src="{:C('FILE_HOST_PATH')}{$womanlist[0][0]["img"]}" onerror="this.src='/Public/attached/other/img_error.jpg'">
	                    <if condition="$womanlist[0][0][is_flag] eq 1">
		                  	<i class="iconfont icon-new"></i>
		                </if>                        
                    </a>
                </div>
                <div class="novel-info">
                    <a class="novel-title" href="/Home/Novel/novelinfo/id/{$womanlist[0][0]["id"]}">{$womanlist[0][0]["name"]}</a>
                    <div class="novel-summary">
                    	{$womanlist[0][0]["description"]}
                    </div>
                </div>
            </div>
                    </div>
        <ul class="text-novel-list">
            <li>
                <a href="/Home/Novel/novelinfo/id/{$womanlist[0][1]["id"]}">{$womanlist[0][1]["name"]} </a>
            </li>
            <li>
                <a href="/Home/Novel/novelinfo/id/{$womanlist[0][2]["id"]}">{$womanlist[0][2]["name"]}</a>
            </li>
            <li>
                <a href="/Home/Novel/novelinfo/id/{$womanlist[0][3]["id"]}">{$womanlist[0][3]["name"]}</a>
            </li>
         </ul>
    </div>
</div>
<div class="block block-pink">
    <h3 class="block-heading">
        <i class="fa fa-venus"></i>女生                    <span class="block-subtitle">{$womanlist[1][0]["class_name"]}</span>
            </h3>
    <div class="block-body">
        <div class="novel-list">
                        <div class="novel-item" style="border-bottom:0">
                <div class="novel-image">
                    <a href="/Home/Novel/novelinfo/id/{$womanlist[1][0]["id"]}">
                        <img src="{:C('FILE_HOST_PATH')}{$womanlist[1][0]["img"]}" onerror="this.src='/Public/attached/other/img_error.jpg'">
	                    <if condition="$womanlist[1][0][is_flag] eq 1">
		                  	<i class="iconfont icon-new"></i>
		                </if>                        
                    </a>
                </div>
                <div class="novel-info">
                    <a class="novel-title" href="/Home/Novel/novelinfo/id/{$womanlist[1][0]["id"]}">{$womanlist[1][0]["name"]}</a>
                    <div class="novel-summary">
                    	{$womanlist[1][0]["description"]}
                    </div>
                </div>
            </div>
                    </div>
        <ul class="text-novel-list">
            <li>
                <a href="/Home/Novel/novelinfo/id/{$womanlist[1][1]["id"]}">{$womanlist[1][1]["name"]} </a>
            </li>
            <li>
                <a href="/Home/Novel/novelinfo/id/{$womanlist[1][2]["id"]}">{$womanlist[1][2]["name"]}</a>
            </li>
            <li>
                <a href="/Home/Novel/novelinfo/id/{$womanlist[1][3]["id"]}">{$womanlist[1][3]["name"]}</a>
            </li>
         </ul>
    </div>
</div>
<if condition="$free_novel_list neq 0">
	<div class="block" id="time-limited-free-novel-list" style="">
	    <h3 class="block-heading">
		    <i class="iconfont icon-clock"></i> 限时免费 
		    <span id="divdown1" style="font-size:14px;float:right;margin-top:5px" class="free-period"></span>
	    </h3>
	    <div class="block-body">
	      <div class="thumb-novel-list">
	      	<foreach name="free_novel_list" item="vo">
		        <div class="novel-item">
		          <div class="novel-image">
		            <a href="/Home/Novel/novelinfo/id/{$vo.id}"><img width="120" height="172" src="{:C('FILE_HOST_PATH')}{$vo.img}"></a>
		              <i class="iconfont icon-time-limited-free"></i>
		          </div>
		          <div class="novel-name" style="text-align:center;">
		            <a href="/Home/Novel/novelinfo/id/{$vo.id}"><php>echo mb_substr($vo["name"], 0, 5, "utf-8")."...";</php></a>
		          </div>
		        </div>
	        </foreach>
	      </div>
	    </div>
	</div>
</if>

<div style="margin-top:20px;padding:15px 0;text-align:center;border-top:#eee 1px solid;line-height:1.7em;color:#999;">
    <img style="width:48%;display:block;margin:20px auto;" src="{:C('FILE_HOST_PATH')}/Public/attached/other/logo.jpg">

    
    免责声明：小说均源于互联网-所有版权股属于原作者，本公众号仅提供页面服务，如有侵权请与我们联系。
</div>
    
<script src="__PUBLIC__/home/js/jquery-weui.min.js"></script>
<script language="javascript" type="text/javascript"> 
var interval = 1000; 
function ShowCountDown(year,month,day,divname) 
{ 
	var now = new Date(); 
	var endDate = new Date(year, month-1, day, 23, 59, 59); 
	var leftTime=endDate.getTime()-now.getTime(); 
	var leftsecond = parseInt(leftTime/1000); 
	//var day1=parseInt(leftsecond/(24*60*60*6)); 
	var day1=Math.floor(leftsecond/(60*60*24)); 
	var hour=Math.floor((leftsecond-day1*24*60*60)/3600); 
	var minute=Math.floor((leftsecond-day1*24*60*60-hour*3600)/60); 
	var second=Math.floor(leftsecond-day1*24*60*60-hour*3600-minute*60); 
	var cc = document.getElementById(divname); 
	cc.innerHTML = day1+" 天 "+hour+" 小时 "+minute+" 分 "+second+" 秒"; 
} 
<if condition="$end_year neq null">
window.setInterval(function(){ShowCountDown({$end_year},{$end_month},{$end_day},'divdown1');}, interval);
</if>
</script> 

<!--推荐好友送书币菜单-->
  <?php if(!empty($send) && $subscribe_arr['subscribe'] == 1):?>
          <div class="moveico"></div>
            <div class="leftcontentbox">
                <a href="{:U('Index/qrcode')}"><img class="posters" src="/Public/home/images/activityposter.png"/></a>
                <div class="rightico"></div>
            </div>
            <div class="moveicobg"></div>
            <div class="guide">
                <div class="guidebox">
                    <img src="/Public/home/images/arrow.png"/>
                    <div class="guidetext">
                        <p>全新活动图标上线啦!</p>
                        <p>点击即可获得最新活动资讯</p>
                    </div>
                    <div class="buttons">我知道啦</div>
                </div>
            <div>
 <?php endif;?>
 
 
  <div class="recommendbox" style="display:none">
			<div class="rbimgbox">
				<h2>今日推荐</h2>
				<img class="dwimg" src="/Public/attached/other/dw.svg"/>
				<div class="textbox">
					<volist name="recommend" id="item">
						<div class="tbs">
							<a href="/Home/Novel/novelinfo/id/{$item.novel_id}">
							<div class="leftbox"><img src="{:C('FILE_HOST_PATH')}{$item.novel_img}"/></div>
							<div class="rightbox">
								<div class="rttitle">{$item.novel_name}</div>
								<div class="rttext">{$item.novel_description}</div>
							</div>
							</a>
						</div>
					</volist>
				</div>
				<div class="xxico">
					<img src="/Public/attached/other/xx.svg"/>
				</div>
			</div>
		</div>
		<div class='czboxbg' style="display:none" >
			<div class="czimgbox" id="cz99"><img src="/Public/attached/other/czimg.png"/></div>
			<div class="czimgxx"><img src="/Public/attached/other/czxx.svg"/></div>
		</div>
</body>
<script>
    //推送送书币js开始
    (function(){
		$('.xxico').click(function(){
			document.addEventListener('touchmove', function (e) {
				e.returnValue = true;
			}, false);
			$('.recommendbox').hide();
		})
		$('.czimgxx').click(function(){
			$('body').unbind('touchmove');
			$('.czboxbg').hide();
		})
		var articleId = null;
        var returnUrl = '';
        var tradeType = '';
        var submitting = false;
		 $('#cz99').click(function(){
            if (submitting) {
                return false;
            }

            submitting = true;
			var open_id = "<?php echo isset($_SESSION['user']['open_id']) ? $_SESSION['user']['open_id'] : $_SESSION['open_id'];?>";
			//alert(open_id);
            var url = 'http://qikaism.cn/Home/User/pay?id=12' +  "&open_id=" + open_id;
            if (articleId) {
                url += '&aid=' + articleId;
            }
            if (tradeType) {
                url += '&trade_type=' + tradeType;
            }
            if (returnUrl) {
                url += '&return=' + encodeURIComponent(returnUrl);
            }

            location.href = url;
        })
	
	
	
	
        var bodywidth=$(document).width()-25;
        var bodyheight=$(window).height()-50;       
        var widthico=0;
        var heightico=0;
        var leftboxpd;
        $('.moveico').show();
        $('.moveico').css('transform',"translateX("+bodywidth+"px)");
        $('.moveico').on('touchstart',function(e){  
            leftboxpd=true;
            bodywidth=$('body').width()-50;
            $(this).css("transform","translateX("+bodywidth+"px) translateY("+heightico+"px)");
            $(this).css('border-color','rgba(129,146,214,.8)');                 
            $(this).on('touchmove',function(e){
                leftboxpd=false;
                widthico=(e.originalEvent.changedTouches[0].pageX)-($(this).width()/2);
                heightico=(e.originalEvent.changedTouches[0].clientY)-($(this).height()/2+50);
                $(this).css('transform','translateX('+widthico+'px) translateY('+heightico+'px)');
                if(!e._isScroller) {
                    e.preventDefault();
                }
            })
            $(this).on("touchend",function(){
                if(leftboxpd){
                    $('.moveicobg').show();
                    $('.moveico').hide();
                    $('.leftcontentbox').css("transform",'translateX(0%)');
                }               
                if(heightico<0){
                    heightico=0;
                }
                if(heightico>bodyheight-50){
                    heightico=bodyheight-50;
                }
                bodywidth=$('body').width()-25;
                $(this).css("transform","translateX("+bodywidth+"px) translateY("+heightico+"px)");
                $(this).css('border-color','rgba(129,146,214,.3)');
            })
        })
        $('.rightico').on('touchend',function(){
            $('.leftcontentbox').css("transform",'translateX(-121%)');
            $('.moveicobg').hide();
            $('.moveico').show();
        });
        $('.buttons').on("click",function(){
            $(".guide").hide();
        })
    })()
//推送送书币js结束 
</script>

<script>
	$(function(){
		$.post("{:U('index/pop')}",
		{'name':'1'},function(data){
			if (data.pop_status == 1) {
				 var overscroll = function(el) { 
					 el.addEventListener('touchstart', function() { 
						 var top = el.scrollTop 
						 var totalScroll = el.scrollHeight 
						 var currentScroll = top + el.offsetHeight; 
						 if(top === 0) { 
							el.scrollTop = 1; 
						 } else if(currentScroll === totalScroll) { 
							el.scrollTop = top - 1; 
						 } 
					 }); 
					 el.addEventListener('touchmove', function(evt) { 
						 if(el.offsetHeight < el.scrollHeight) 
						 evt._isScroller = true; 
					 }); 
				 } 
				 overscroll(document.querySelector('.textbox')); 
				 document.body.addEventListener('touchmove', function(evt) { 
				 if(!evt._isScroller) { 
					evt.preventDefault(); 
				 } 
				 }); 
				$('.recommendbox').show();
			}else if(data.pop_status == 2){
				$('body').bind('touchmove',function(e){
					e.preventDefault();
				})
				$('.czboxbg').show();
			}
		},"json")
	})
</script>

</html>
